/**
 * @Project RSLsXWG
 * @Author Tran Manh Hung
 * @Email: hungtmit@gmail.com | tmh@xwebgate.com
 * @Copyright © 2011 TMH. All rights reserved
 * @Createdate May 4, 2011
 * @Createtime 2:42:18 PM
 */

package com.gigalaxy.game.card.events
{
	import flash.events.Event;

	public class CardRenderEvent extends Event
	{
		/**
		 * hgData contain:<br />
		 * selected:Boolean - if true >> click to select | if false >> click to deselect
		 */
		public static const MOUSE_UP:String="cardMouseUp";
		public static const MOUSE_DOWN:String="cardMouseDown";

		public var hgData:Object;

		public function CardRenderEvent(type:String, data:Object=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);

			hgData=data;
		}

		override public function clone():Event
		{
			return new CardRenderEvent(type, hgData, bubbles, cancelable);
		}
	}
}
